﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    @if (!MalkiSumWeb.Controllers.MainController.IsAuthenticated)
    {
        <text>
        <script>            window.location.href = '@Url.Action("LogOn", "Account")'; </script>
        </text>
    }
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <style>
        .t-button
        {
            color: White !important;
        }
    </style>
    @(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.web20.css").Combined(true).Compress(true)))
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>
                    My MVC Application</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
                    <li>@Html.ActionLink("الرئيسية", "Index", "Home")</li>
                    <li>@Html.ActionLink("Action Type", "ActionType", "Admin")</li>
                    <li>@Html.ActionLink("Language", "Language", "Admin")</li>
                    <li>@Html.ActionLink("Field", "Field", "Admin")</li>
                    <li>@Html.ActionLink("Country", "Country", "Admin")</li>
                    <li>@Html.ActionLink("Time Zone", "TimeZone", "Admin")</li>
                    <li>@Html.ActionLink("عن الموقع", "About", "Home")</li>
                </ul>
            </div>
        </div>
        <div id="main">
            @RenderBody()
            <div id="footer">
            </div>
        </div>
    </div>
    @(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true).Compress(true)))
</body>
</html>
